package com.cll.learn.rabbitmq.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.RequiredArgsConstructor;

/**
 * 描述信息:
 *
 * @author CLL
 * @version 1.0
 * @date 2021/2/3 13:05
 */
@Data
@RequiredArgsConstructor
@AllArgsConstructor
public class AjaxResult<T> {

    /**
     * 响应码
     */
    private final Integer code;

    /**
     * 相应描述信息
     */
    private final String message;

    /**
     * 相应数据
     */
    private T data;
}
